home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / Development Tools & Languages / Shared Lib. Mgr. C++ / !!READ ME FIRST !! next >
Encoding:
Text File  |  1992-08-30  |  1.3 KB  |  38 lines  |  [TEXT/MPS ]

  1. C++ To SLM C++ snippet (Sunday, August 30, 1992 16:47:55) - version 002
  2. ----------------------
  3.  
  4. This snippet shows how to turn a generic C++ class (not Pascal/Handle
  5. object based) into a Shared Library class. The Makefile is a suitable
  6. template for similar work. Some of you wonder why the Makefile is not
  7. a typical Build style Makefile. Well, it makes sense to create a more
  8. flexible Makefile to generate libraries, than to create a makefile
  9. that assumes that you are always building an empty application or 
  10. something similar.
  11.  
  12. Environment:
  13. Shared Library Manager 1.0a6 (from ETO #8)
  14. MPW 3.2 Latest (from ETO #8)
  15. MPW C++ 3.2
  16. MPW C 3.2.2 (beware, C 3.2.3 could cause problems,
  17. if you still have problems with 3.2.2, roll to 3.2.1).
  18.  
  19. System 7.0.1 + tuneup, Quadra 900.
  20.  
  21. Instructions:
  22. 1: Go to the folder where the Makefile resides.
  23. 2: Execute: make >instructions.
  24. 3: Execute: doit instructions.
  25. 4: Go to the Built folder and move the ProcessLibrary 
  26.    file to the Extensions folder on the System disk.
  27. 5. Run testtool.
  28.  
  29. Any problems? Well, then remove all the object files, and use
  30. MPW C 3.2.1. I tested this with MPW C 3.2.2, and it seems to work
  31. OK, but this all is still alpha.
  32.  
  33.  
  34. Kent Sandvik, Developer Technical Support, Platforms&Tools Group.
  35. Net: ksand@apple.com
  36. ALink: KSAND
  37.  
  38.